SET XDB_JAR_FILE=./target/xdb-1.0.jar;
SET LIBS_DIR=../libs
SET LOGBACK_LIBS=%LIBS_DIR%/slf4j-api-2.0.5.jar;%LIBS_DIR%/slf4j-api-2.0.5.jar;%LIBS_DIR%/log4j-over-slf4j-2.0.5.jar;%LIBS_DIR%/logback-access-1.4.7.jar;%LIBS_DIR%/logback-classic-1.4.7.jar;%LIBS_DIR%/logback-core-1.4.7.jar
SET XDB_XML=example.xdb.xml
java -Dlogback.configurationFile=logback.xml -cp %XDB_JAR_FILE%%LOGBACK_LIBS% xgen.Main -outputEncoding utf-8 -json %XDB_XML%

echo "gen xdb finish"
pause